import Vue from "vue";
import VueRouter from "vue-router";
import Approvellist from "../views/approvelList";
import ApprovelDetail from "../views/approvaldetail";
import ApprovelIndividual from "../views/approvelIndividual";
import Alstop from "../views/al_stop";
import NavigatorIndex from "../views/navigatorIndex";
import Sketch from "../views/sketch";
import Lcsubmit from "../views/lc_submit";
import Reservation from "../views/reservation";
import Login from "../views/login";

Vue.use(VueRouter);

const routes = [
  { path: "/", redirect: "/login" },
  {
    path: "/approvellist",
    component: Approvellist,
  },
  {
    path: "/approvelDetail",
    component: ApprovelDetail,
  },
  {
    path: "/approvelIndividual",
    component: ApprovelIndividual,
  },
  {
    path: "/al_stop",
    component: Alstop,
  },
  {
    path: "/navigatorIndex",
    component: NavigatorIndex,
  },
  {
    path: "/sketch",
    component: Sketch,
  },
  {
    path: "/lc_submit",
    component: Lcsubmit,
  },
  {
    path: "/reservation",
    component: Reservation,
  },
  {
    path: "/login",
    component: Login,
  },
];

const router = new VueRouter({
  routes,
});

export default router;
